<!--添加Banner-->
<div class="modal inmodal in" id="addBanner" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加轮播位</h4>
            </div>
            <form id="add_banner_form">
                <div class="modal-body">
                    <div class="form-group"><label>名称</label> <input type="text" name="name" placeholder="输入轮播位名称" class="form-control"></div>
                    <div class="form-group"><label>描述</label> <input type="text" name="description" placeholder="输入轮播位描述" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">添加</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--添加Banner End-->

<!--更新Banner-->
<div class="modal inmodal in" id="detailBanner" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新轮播位</h4>
            </div>
            <form id="update_banner_form">
                <div class="modal-body">
                    <div class="form-group"><label>名称</label> <input type="text" name="name" placeholder="输入轮播位名称" class="form-control"></div>
                    <div class="form-group"><label>描述</label> <input type="text" name="description" placeholder="输入轮播位描述" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Banner End-->

<!--新增product_banner 详情-->
<div class="modal inmodal in" id="addProduct_banner" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加详情轮播图</h4>
            </div>
            <form id="addto_banner_item_form">
                <div class="modal-body">
                    <div class="form-group">
                        <label>名称(所属banner)</label>
                        <select name="banner_id" class="form-control">
                            <option value="2">商品轮播图</option>
                        </select>
                    </div>
                    <div class="form-group"><label>所属商品名</label><input type="text" name="product_name" placeholder="输入所属商品名" class="form-control"></div>
                    <div class="form-group"><label>图片名称(别名必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入图片别名" class="form-control"></div>
                    <div class="form-group"><label>图片地址(url)</label><input type="text" name="url" placeholder="输入图片地址" class="form-control"></div>
                    <div class="form-group">
                        <label>上传Banner图片(与图片名称二选一以输入图片为准)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增BannerItem End-->

<!--新增BannerItem  首页-->
<div class="modal inmodal in" id="addBannerItem" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加首页轮播图</h4>
            </div>
            <form id="add_banner_item_form">
                <div class="modal-body">
                    <div class="form-group">
                        <label>名称(所属banner)</label>
                        <select name="banner_id" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>跳转位置</label>
                        <select name="type" class="form-control">
                            <option value="1">商品</option>
                            <option value="2">专题</option>
                        </select>
                    </div>
                    <div class="form-group"><label>跳转关键字</label><input type="text" name="key_word" placeholder="输入跳转关键字" class="form-control"></div>
                    <div class="form-group"><label>图片名称(别名必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入图片别名" class="form-control"></div>
                    <div class="form-group"><label>图片地址(url)</label><input type="text" name="url" placeholder="输入图片地址" class="form-control"></div>
                    <div class="form-group">
                        <label>上传Banner图片(与图片名称二选一以输入图片为准)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增BannerItem End-->

<!--更新BannerItem-->
<div class="modal inmodal in" id="detailBannerItem" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新轮播图</h4>
            </div>
            <form id="update_banner_item_form">
                <div class="modal-body">
                    <div class="form-group">
                        <label>名称(所属banner)</label>
                        <select name="banner_id" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>跳转位置</label>
                        <select name="type" class="form-control">
                            <option value="1">商品</option>
                            <option value="2">专题</option>
                        </select>
                    </div>
                    <div class="form-group"><label>跳转关键字</label><input type="text" name="key_word" placeholder="输入跳转关键字" class="form-control"></div>
                    <div class="form-group"><label>图片名称(别名必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入图片别名" class="form-control"></div>
                    <div class="form-group"><label>图片地址(url)</label><input type="text" name="url" placeholder="输入图片地址" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>上传Banner图片(与图片名称二选一以输入图片为准)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                    <input type="hidden" name="image_primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新BannerItem End-->

<!--新增Image-->
<div class="modal inmodal in" id="addImage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增图片</h4>
            </div>
            <form id="add_image_form">
                <div class="modal-body">
                    <div class="form-group"><label>图片别名(必填)</label><input type="text" name="alias" placeholder="输入图片别名" class="form-control"></div>
                    <div class="form-group"><label>图片地址(公网:url 本地:名称)</label><input type="text" name="url" placeholder="输入图片地址" class="form-control"></div>
                    <div class="form-group">
                        <label>图片来源</label>
                        <select name="from" class="form-control">
                            <option value="1">本地</option>
                            <option value="2">公网</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label>上传Banner图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Image End-->

<!--更新Image-->
<div class="modal inmodal in" id="detailImage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新图片</h4>
            </div>
            <form id="update_image_form">
                <div class="modal-body">
                    <div class="form-group"><label>图片别名(必填)</label><input type="text" name="alias" placeholder="输入图片别名" class="form-control"></div>
                    <div class="form-group"><label>图片地址(公网:url 本地:名称)</label><input type="text" name="url" placeholder="输入图片地址" class="form-control"></div>
                    <div class="form-group">
                        <label>图片来源</label>
                        <select name="from" class="form-control">
                            <option value="1">本地</option>
                            <option value="2">公网</option>
                        </select>
                    </div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>上传Banner图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Image End-->

<!--新增Theme-->
<div class="modal inmodal in" id="addTheme" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增专题</h4>
            </div>
            <form id="add_theme_form">
                <div class="modal-body">
                    <div class="form-group"><label>专题名称</label><input type="text" name="name" placeholder="输入专题名称" class="form-control"></div>
                    <div class="form-group"><label>专题描述</label><input type="text" name="description" placeholder="输入专题描述" class="form-control"></div>
                    <div class="form-group"><label>首页展示图片名</label><input type="text" name="topic_image_name" placeholder="输入首页展示图片名" class="form-control"></div>
                    <div class="form-group"><label>首页展示图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="topic_image_url" placeholder="输入首页展示图片名/URL" class="form-control"></div>
                    <div class="form-group">
                        <label>上传首页展示图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="topic_img">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group"><label>专题列表顶部图片</label><input type="text" name="head_image_name" placeholder="输入首页展示图片名" class="form-control"></div>
                    <div class="form-group"><label>专题列表顶部图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="head_image_url" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div class="form-group">
                        <label>专题列表顶部图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="head_img">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Theme End-->

<!--更新Theme-->
<div class="modal inmodal in" id="detailTheme" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新专题</h4>
            </div>
            <form id="update_theme_form">
                <div class="modal-body">
                    <div class="form-group"><label>专题名称</label><input type="text" name="name" placeholder="输入专题名称" class="form-control"></div>
                    <div class="form-group"><label>专题描述</label><input type="text" name="description" placeholder="输入专题描述" class="form-control"></div>
                    <div class="form-group"><label>首页展示图片名</label><input type="text" name="topic_image_name" placeholder="输入首页展示图片名" class="form-control"></div>
                    <div class="form-group"><label>首页展示图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="topic_image_url" placeholder="输入首页展示图片名/URL" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%" name="topic_img">
                    </div>
                    <div class="form-group">
                        <label>上传首页展示图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="topic_img">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group"><label>专题列表顶部图片</label><input type="text" name="head_image_name" placeholder="输入首页展示图片名" class="form-control"></div>
                    <div class="form-group"><label>专题列表顶部图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="head_image_url" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%" name="head_img">
                    </div>
                    <div class="form-group">
                        <label>专题列表顶部图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="head_img">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                    <input type="hidden" name="topic_img_key">
                    <input type="hidden" name="head_img_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Theme End-->

<!--新增Product-->
<div class="modal inmodal in" id="addProduct" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增商品位</h4>
            </div>
            <form id="add_product_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称</label><input type="text" name="name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>商品描述</label><input type="text" name="summary" placeholder="输入商品描述" class="form-control"></div>
                    <div class="form-group"><label>商品所属分类(已存在的)</label><input type="text" name="category" placeholder="商品所属分类" class="form-control"></div>
                    <div class="form-group"><label>商品图片</label><input type="text" name="alias" placeholder="输入展示图片名" class="form-control"></div>
                    <div class="form-group"><label>商品图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div class="form-group">
                        <label>商品图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Product End-->

<!--更新Product-->
<div class="modal inmodal in" id="detailProduct" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新商品位</h4>
            </div>
            <form id="update_product_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称</label><input type="text" name="name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>商品描述</label><input type="text" name="summary" placeholder="输入商品描述" class="form-control"></div>
                    <div class="form-group"><label>商品所属分类(已存在的)</label><input type="text" name="category" placeholder="商品所属分类" class="form-control"></div>
                    <div class="form-group"><label>商品图片</label><input type="text" name="alias" placeholder="输入展示图片名" class="form-control"></div>
                    <div class="form-group"><label>商品图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>商品图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Product End-->

<!--新增ProductImage-->
<div class="modal inmodal in" id="addProductImage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增商品-图片详情</h4>
            </div>
            <form id="add_product_image_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称(必须是存在的商品)</label><input type="text" name="product_name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>图片序号</label><input type="text" name="order" placeholder="输入商品图片序号不能与同一商品重复" class="form-control"></div>
                    <div class="form-group"><label>描述</label><input type="text" name="description" placeholder="输入商品图片描述" class="form-control"></div>
                    <div class="form-group"><label>商品图片名(底部详情)</label><input type="text" name="alias" placeholder="输入商品图片名(底部详情)" class="form-control"></div>
                    <div class="form-group"><label>商品图片地址/上传图片名(图片名不存在时)</label><input type="text" name="product_bottom_image" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div class="form-group">
                        <label>商品图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增ProductImage End-->

<!--更新ProductImage-->
<div class="modal inmodal in" id="detailProductImage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新商品-图片详情</h4>
            </div>
            <form id="update_product_image_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称(必须是存在的商品)</label><input type="text" name="product_name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>图片序号</label><input type="text" name="order" placeholder="输入商品图片序号不能与同一商品重复" class="form-control"></div>
                    <div class="form-group"><label>描述</label><input type="text" name="description" placeholder="输入商品图片描述" class="form-control"></div>
                    <div class="form-group"><label>商品图片名(底部详情)</label><input type="text" name="alias" placeholder="输入商品图片名(底部详情)" class="form-control"></div>
                    <div class="form-group"><label>商品图片地址/上传图片名(图片名不存在时)</label><input type="text" name="product_bottom_image" placeholder="输入专题列表顶部图片/URL" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>商品图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新ProductImage End-->

<!--新增ProductInfo-->
<div class="modal inmodal in" id="addProductInfo" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增商品详情</h4>
            </div>
            <form id="add_product_info_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称(已经存在的)</label><input type="text" name="name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>商品描述</label><input type="text" name="description" placeholder="输入商品描述" class="form-control"></div>
                    <div class="form-group"><label>商品图片别名(必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入详情图片图片名" class="form-control"></div>
                    <div class="form-group"><label>商品图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入商品图片url/上传图片名" class="form-control"></div>
                    <div class="form-group">
                        <label>上传图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group"><label>商品售价</label><input type="text" name="price" placeholder="输入商品售价" class="form-control"></div>
                    <div class="form-group"><label>会员价格</label><input type="text" name="member_price" placeholder="输入会员价格" class="form-control"></div>
                    <div class="form-group"><label>商品进价</label><input type="text" name="purchase_price" placeholder="输入商品进价" class="form-control"></div>
                    <div class="form-group"><label>商品库存量</label><input type="text" name="stock" placeholder="输入商品库存" class="form-control"></div>
                    <div class="form-group"><label>商品颜色</label><input type="text" name="color" placeholder="输入商品颜色" class="form-control"></div>
                    <div class="form-group"><label>商品型号</label><input type="text" name="size" placeholder="输入商品型号" class="form-control"></div>
                    <div class="form-group">
                        <label>主推(详情页面第一个产品只有一个)</label>
                        <input type="radio" name="is_home" value="0" checked><span>不是</span>
                        <input type="radio" name="is_home"  value="1"><span>是</span>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增ProductInfo End-->


<!--更新ProductInfo-->
<div class="modal inmodal in" id="detailProductInfo" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新商品详情</h4>
            </div>
            <form id="update_product_info_form">
                <div class="modal-body">
                    <div class="form-group"><label>商品名称(已经存在的)</label><input type="text" name="name" placeholder="输入商品名称" class="form-control"></div>
                    <div class="form-group"><label>商品描述</label><input type="text" name="description" placeholder="输入商品描述" class="form-control"></div>
                    <div class="form-group"><label>商品图片别名(必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入详情图片图片名" class="form-control"></div>
                    <div class="form-group"><label>商品图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入商品图片url/上传图片名" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>上传图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group"><label>商品售价</label><input type="text" name="price" placeholder="输入商品售价" class="form-control"></div>
                    <div class="form-group"><label>会员价格</label><input type="text" name="member_price" placeholder="输入会员价格" class="form-control"></div>
                    <div class="form-group"><label>商品进价</label><input type="text" name="purchase_price" placeholder="输入商品进价" class="form-control"></div>
                    <div class="form-group"><label>商品库存量</label><input type="text" name="stock" placeholder="输入商品库存" class="form-control"></div>
                    <div class="form-group"><label>商品颜色</label><input type="text" name="color" placeholder="输入商品颜色" class="form-control"></div>
                    <div class="form-group"><label>商品型号</label><input type="text" name="size" placeholder="输入商品型号" class="form-control"></div>
                    <div class="form-group">
                        <label>主推(详情页面第一个产品只有一个)</label>
                        <input type="radio" name="is_home" value="0" checked><span>不是</span>
                        <input type="radio" name="is_home"  value="1"><span>是</span>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新ProductInfo End-->

<!--新增Category-->
<div class="modal inmodal in" id="addCategory" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增分类</h4>
            </div>
            <form id="add_category_form">
                <div class="modal-body">
                    <div class="form-group"><label>分类名</label><input type="text" name="name" placeholder="输入分类名" class="form-control"></div>
                    <div class="form-group"><label>分类描述</label><input type="text" name="description" placeholder="输入分类描述" class="form-control"></div>
                    <div class="form-group"><label>分类顶部图片别名(必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入详情图片图片名" class="form-control"></div>
                    <div class="form-group"><label>分类图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入商品图片url/上传图片名" class="form-control"></div>
                    <div class="form-group">
                        <label>上传图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Category End-->

<!--更新Category-->
<div class="modal inmodal in" id="detailCategory" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新分类</h4>
            </div>
            <form id="update_category_form">
                <div class="modal-body">
                    <div class="form-group"><label>分类名</label><input type="text" name="name" placeholder="输入分类名" class="form-control"></div>
                    <div class="form-group"><label>分类描述</label><input type="text" name="description" placeholder="输入分类描述" class="form-control"></div>
                    <div class="form-group"><label>分类顶部图片别名(必填 不存在则上传图片 )</label><input type="text" name="alias" placeholder="输入详情图片图片名" class="form-control"></div>
                    <div class="form-group"><label>分类图片url/上传图片名(上传图片/填写图片来自公网)</label><input type="text" name="url" placeholder="输入商品图片url/上传图片名" class="form-control"></div>
                    <div  style="margin-bottom: 2%">
                        <img src="" title="原图" style="width: 40%">
                    </div>
                    <div class="form-group">
                        <label>上传图片(以url作为图片名称 来源为公网时忽略)</label>
                        <div class="fileinput fileinput-new input-group" data-provides="fileinput">
                            <div class="form-control" data-trigger="fileinput">
                                <i class="glyphicon glyphicon-file fileinput-exists"></i>
                                <span class="fileinput-filename"></span>
                            </div>
                            <span class="input-group-addon btn btn-default btn-file">
                                <span class="fileinput-new">Select file</span>
                                <span class="fileinput-exists">Change</span>
                                <input type="hidden"><input type="file" name="image">
                             </span>
                            <a href="#" class="input-group-addon btn btn-default fileinput-exists" data-dismiss="fileinput">Remove</a>
                        </div>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Category End-->

<!--新增ThemeProduct-->
<div class="modal inmodal in" id="addThemeProduct" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增主题-商品</h4>
            </div>
            <form id="add_theme_product_form">
                <div class="modal-body">
                    <div class="form-group"><label>主题名(必须是已存在的)</label><input type="text" name="theme_name" placeholder="输入主题名" class="form-control"></div>
                    <div class="form-group"><label>商品名(必须是已存在的)</label><input type="text" name="product_name" placeholder="输入商品名" class="form-control"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Category End-->

<!--更新ThemeProduct-->
<div class="modal inmodal in" id="detailThemeProduct" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新主题-商品</h4>
            </div>
            <div class="ibox-content">
                <table class="table table-hover no-margins">
                    <thead>
                    <tr>
                        <th>专题</th>
                        <th>商品</th>
                        <th>删除</th>
                    </tr>
                    </thead>
                    <tbody id="theme_product_info">

                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<!--更新ThemeProduct End-->

<!--新增Card-->
<div class="modal inmodal in" id="addCard" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">新增银行卡</h4>
            </div>
            <form id="add_card_form">
                <div class="modal-body">
                    <div class="form-group"><label>银行名</label><input type="text" name="bank_name" placeholder="输入银行名" class="form-control"></div>
                    <div class="form-group"><label>开户行</label><input type="text" name="branch_name" placeholder="开户行" class="form-control"></div>
                    <div class="form-group"><label>开户名</label><input type="text" name="surename" placeholder="输入开户名" class="form-control"></div>
                    <div class="form-group"><label>初始余额</label><input type="text" name="balance" placeholder="输入初始余额" class="form-control"></div>
                    <div class="form-group"><label>银行卡号</label><input type="text" name="card_number" placeholder="输入银行卡号" class="form-control"></div>
                    <div class="form-group">
                        <label>银行卡类型</label>
                        <select name="type" class="form-control">
                            <option value="1">收入卡</option>
                            <option value="2">开支卡</option>
                            <option value="3">备用金</option>
                            <option value="4">工资卡</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Card End-->

<!--更新Card-->
<div class="modal inmodal in" id="detailCard" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新银行卡</h4>
            </div>
            <form id="update_card_form">
                <div class="modal-body">
                    <div class="form-group"><label>银行名</label><input type="text" name="bank_name" placeholder="输入银行名" class="form-control"></div>
                    <div class="form-group"><label>开户行</label><input type="text" name="branch_name" placeholder="开户行" class="form-control"></div>
                    <div class="form-group"><label>开户名</label><input type="text" name="surename" placeholder="输入开户名" class="form-control"></div>
                    <div class="form-group"><label>初始余额</label><input type="text" name="balance" placeholder="输入初始余额" class="form-control"></div>
                    <div class="form-group"><label>银行卡号</label><input type="text" name="card_number" placeholder="输入银行卡号" class="form-control"></div>
                    <div class="form-group">
                        <label>银行卡类型</label>
                        <select name="type" class="form-control">
                            <option value="1">收入卡</option>
                            <option value="2">开支卡</option>
                            <option value="3">备用金</option>
                            <option value="4">工资卡</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Card End-->

<!--卡内转账-->
<div class="modal inmodal in" id="chang_money" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">卡内转账</h4>
            </div>
            <form id="change_money_from">
                <div class="modal-body">
                    <div class="form-group">
                        <label>转出卡</label>
                        <select name="type" class="form-control">
                            <option value="1">收入卡</option>
                            <option value="2">开支卡</option>
                            <option value="3">备用金</option>
                            <option value="4">工资卡</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label>转入卡</label>
                        <select name="type" class="form-control">
                            <option value="1">收入卡</option>
                            <option value="2">开支卡</option>
                            <option value="3">备用金</option>
                            <option value="4">工资卡</option>
                        </select>
                    </div>
                    <div class="form-group"><label>转出额度</label><input type="text" name="card_number" placeholder="输入转出额度" class="form-control"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">转出</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--卡内转账 End-->

<!--外部调入-->
<div class="modal inmodal in" id="in_money" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">外部调入</h4>
            </div>
            <form id="in_money_from">
                <div class="modal-body">
                    <div class="form-group">
                        <label>转入卡</label>
                        <select name="type" class="form-control">
                            <option value="1">收入卡</option>
                            <option value="2">开支卡</option>
                            <option value="3">备用金</option>
                            <option value="4">工资卡</option>
                        </select>
                    </div>
                    <div class="form-group"><label>调入金额</label><input type="text" name="card_number" placeholder="输入调入金额" class="form-control"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">调入</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--外部调入 End-->

<!--addAgent-->
<div class="modal inmodal in" id="addAgent" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加代理</h4>
            </div>
            <form id="add_agent_form">
                <div class="modal-body">
                    <div class="form-group"><label>代理人</label><input type="text" name="name" placeholder="输入代理人" class="form-control"></div>
                    <div class="form-group"><label>联系方式</label><input type="text" name="mobile" placeholder="输入代理人联系方式" class="form-control"></div>
                    <div class="form-group"><label>代理地址</label><input type="text" name="address" placeholder="输入代理地址" class="form-control"></div>
                    <div class="form-group"><label>邀请码</label><input type="text" name="invitation_code" placeholder="输入邀请码" class="form-control"></div>
                    <div class="form-group"><label>代理余额</label><input type="text" name="agent_balance" placeholder="输入代理余额" class="form-control"></div>
                    <div class="form-group"><label>代理描述</label><input type="text" name="description" placeholder="输入代理描述" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增代理</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--addAgent End-->

<!--detailAgent-->
<div class="modal inmodal in" id="detailAgent" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新代理</h4>
            </div>
            <form id="update_agent_form">
                <div class="modal-body">
                    <div class="form-group"><label>代理人</label><input type="text" name="name" placeholder="输入代理人" class="form-control"></div>
                    <div class="form-group"><label>联系方式</label><input type="text" name="mobile" placeholder="输入代理人联系方式" class="form-control"></div>
                    <div class="form-group"><label>代理地址</label><input type="text" name="address" placeholder="输入代理地址" class="form-control"></div>
                    <div class="form-group"><label>邀请码</label><input type="text" name="invitation_code" placeholder="输入邀请码" class="form-control"></div>
                    <div class="form-group"><label>代理余额</label><input type="text" name="agent_balance" placeholder="输入代理余额" class="form-control"></div>
                    <div class="form-group"><label>代理描述</label><input type="text" name="description" placeholder="输入代理描述" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" value="" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">修改</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--detailAgent End-->

<!--detailUser-->
<div class="modal inmodal in" id="detailUser" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新用户</h4>
            </div>
            <form id="update_user_form">
                <div class="modal-body">
                    <div class="form-group"><label>用户名</label><input type="text" name="username" placeholder="输入用户名" class="form-control" disabled></div>
                    <div class="form-group"><label>真实姓名</label><input type="text" name="surename" placeholder="输入用户真实姓名" class="form-control" disabled></div>
                    <div class="form-group"><label>余额</label><input type="text" name="balance" placeholder="输入用户余额" class="form-control" disabled></div>
                    <div class="form-group"><label>QQ</label><input type="text" name="qq" placeholder="输入用户QQ" class="form-control"></div>
                    <div class="form-group"><label>email</label><input type="text" name="email" placeholder="输入用户email" class="form-control"></div>
                    <div class="form-group"><label>mobile</label><input type="text" name="mobile" placeholder="输入用户mobile" class="form-control"></div>
                    <div class="form-group"><label>注册IP</label><input type="text" name="reg_ip" placeholder="输入注册IP" class="form-control" disabled></div>
                    <div class="form-group"><label>登录次数</label><input type="text" name="login_times" placeholder="输入登录次数" class="form-control" disabled></div>
                    <div class="form-group"><label>最后登录时间</label><input type="text" name="lastLogin_time" placeholder="输入最后登录时间" class="form-control" disabled></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" value="" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">修改</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--detailUser End-->

<!--新增MessageItem-->
<div class="modal inmodal in" id="addMessage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加消息</h4>
            </div>
            <form id="add_message_form">
                <div class="modal-body">
                    <div class="form-group"><label>消息标题</label><input type="text" name="msg_title" placeholder="输入消息标题" class="form-control"></div>
                    <div class="form-group"><label>消息内容</label><input type="text" name="msg_contents" placeholder="输入消息内容" class="form-control"></div>
                    <div class="form-group"><label>消息来源</label><input type="text" name="msg_from" placeholder="输入消息来源" class="form-control"></div>
                    <div class="form-group">
                        <label>消息接收者</label>
                        <select name="recive_user" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>消息发送者</label>
                        <select name="send_user" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>查阅状态</label>
                        <input type="radio" name="is_read" value="0"><span>未读</span>
                        <input type="radio" name="is_read" checked value="1"><span>已读</span>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Message End-->

<!--更新MessageItem-->
<div class="modal inmodal in" id="updateMessage" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新消息</h4>
            </div>
            <form id="update_message_form">
                <div class="modal-body">
                    <div class="form-group"><label>消息标题</label><input type="text" name="msg_title" placeholder="输入消息标题" class="form-control"></div>
                    <div class="form-group"><label>消息内容</label><input type="text" name="msg_contents" placeholder="输入消息内容" class="form-control"></div>
                    <div class="form-group"><label>消息来源</label><input type="text" name="msg_from" placeholder="输入消息来源" class="form-control"></div>
                    <div class="form-group">
                        <label>消息接收者</label>
                        <select name="recive_user" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>消息发送者</label>
                        <select name="send_user" class="form-control">

                        </select>
                    </div>
                    <div class="form-group">
                        <label>查阅状态</label>
                        <input type="radio" name="is_read" value="0"><span>未读</span>
                        <input type="radio" name="is_read" checked value="1"><span>已读</span>
                    </div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Message End-->

<!--新增Notice-->
<div class="modal inmodal in" id="addNotice" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">添加公告</h4>
            </div>
            <form id="add_notice_form">
                <div class="modal-body">
                    <div class="form-group"><label>公告内容</label><input type="text" name="contents" placeholder="输入公告内容" class="form-control"></div>
                    <div class="form-group">
                        <label class="font-normal">开始时间</label>
                        <div class="input-group date">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span><input type="text" class="form-control" name="start_time" data-toggle="datetimepicker" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="font-normal">结束时间</label>
                        <div class="input-group date">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span><input type="text" class="form-control" name="end_time" data-toggle="datetimepicker" >
                        </div>
                    </div>
                    <div class="form-group"><label>sort内容</label><input type="text" name="sort" placeholder="输入sort内容" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <!--<input type="hidden" name="primary_key">-->
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">新增</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--新增Notice End-->

<!--更新Notice-->
<div class="modal inmodal in" id="detailNotice" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">更新公告</h4>
            </div>
            <form id="update_notice_form">
                <div class="modal-body">
                    <div class="form-group"><label>公告内容</label><input type="text" name="contents" placeholder="输入公告内容" class="form-control"></div>
                    <div class="form-group">
                        <label class="font-normal">开始时间</label>
                        <div class="input-group date">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span><input type="text" class="form-control" name="start_time" data-toggle="datetimepicker" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="font-normal">结束时间</label>
                        <div class="input-group date">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span><input type="text" class="form-control" name="end_time" data-toggle="datetimepicker" >
                        </div>
                    </div>
                    <div class="form-group"><label>sort内容</label><input type="text" name="sort" placeholder="输入sort内容" class="form-control"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="0"><span>不可用</span>
                        <input type="radio" name="status" checked value="1"><span>可用</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--更新Notice End-->

<!--订单去发货-->
<div class="modal inmodal in" id="deliver_goods" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">准备发货</h4>
            </div>
            <form id="deliver_goods_form">
                <div class="modal-body">
                    <div class="form-group"><label>订单号</label><input type="text" name="billno" placeholder="输入订单号" class="form-control" disabled></div>
                    <div class="form-group"><label>用户名</label><input type="text" name="username" placeholder="输入用户名" class="form-control" disabled></div>
                    <div class="form-group"><label>快递公司</label><input type="text" name="express_name" placeholder="输入快递公司信息" class="form-control" disabled></div>
                    <div class="form-group"><label>快递费用</label><input type="text" name="express_price" placeholder="输入快递费用" class="form-control" disabled></div>
                    <div class="form-group"><label>快递单号(必填)</label><input type="text" name="express_no" placeholder="输入快递单号" class="form-control"></div>
                    <div class="form-group"><label>订单详情</label><input type="text" name="username" placeholder="输入订单详情" class="form-control" value="用表格"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="2"><span>已支付</span>
                        <input type="radio" name="status" value="4"><span>库存不足</span>
                        <input type="radio" name="status" value="3"><span>发货</span>
                    </div>
                    <input type="hidden" name="primary_key">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">更新</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--订单去发货 End-->

<!--订单(确认收货)-->
<div class="modal inmodal in" id="collect_goods" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">确认收货</h4>
            </div>
            <form id="collect_goods_form">
                <div class="modal-body">
                    <div class="form-group"><label>订单号</label><input type="text" name="billno" placeholder="输入订单号" class="form-control" disabled></div>
                    <div class="form-group"><label>用户名</label><input type="text" name="username" placeholder="输入用户名" class="form-control" disabled></div>
                    <div class="form-group"><label>快递公司</label><input type="text" name="express_name" placeholder="输入快递公司信息" class="form-control" disabled></div>
                    <div class="form-group"><label>快递单号</label><input type="text" name="express_no" placeholder="输入快递单号" class="form-control" disabled></div>
                    <div class="form-group"><label>订单详情</label><input type="text" name="username" placeholder="输入订单详情" class="form-control" value="用表格"></div>
                    <div class="form-group">
                        <label>状态</label>
                        <input type="radio" name="status" value="3"><span>已发货</span>
                    </div>
                    <input type="hidden" name="id">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">确认收货</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--订单(确认收货) End-->

<!--查看订单商品-->
<div class="modal inmodal in" id="show_info" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content animated bounceInRight">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                <i class="fa fa-credit-card modal-icon"></i>
                <h4 class="modal-title">查看订单商品</h4>
            </div>
            <form id="show_info_form">
                <div class="modal-body">
                    <div class="form-group"><label>订单号</label><input type="text" name="billno" placeholder="输入订单号" class="form-control" disabled></div>
                    <div class="form-group"><label>地址快照</label><input type="text" name="snap_address" placeholder="输入地址" class="form-control" disabled></div>
                    <div class="form-group"><label>收货电话号码</label><input type="text" name="mobile" placeholder="输入地址" class="form-control" disabled></div>
                    <div class="form-group">
                        <label>商品详情</label>
                        <div class="ibox-content">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>颜色</th>
                                    <th>大小</th>
                                    <th>会员售价</th>
                                </tr>
                                </thead>
                                <tbody id="show_info_tbody">
                                <tr>
                                    <td>1</td>
                                    <td>Mark</td>
                                    <td>Otto</td>
                                    <td>@mdo</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!--订单(确认收货) End-->


